package com.hksj.common.quartz.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class CronJobVO {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "任务名称")
    private String name;

    @ApiModelProperty(value = "任务分组")
    private String groupName;

    @ApiModelProperty(value = "任务类")
    private String jobClass;

    @ApiModelProperty(value = "任务类型 1 = 开  2 = 关")
    private Integer type;

    @ApiModelProperty(value = "分")
    private String minute;

    @ApiModelProperty(value = "时")
    private String hour;

    @ApiModelProperty(value = "日期")
    private String day;

    @ApiModelProperty(value = "周")
    private String week;

    @ApiModelProperty(value = "状态 0 = 未运行 1 = 运行中")
    private Integer status;

    @ApiModelProperty(value = "关联设备列表")
    private List<CronJobDeviceVO> deviceList;
}
